home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / asa.z / asa
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAASSSSAAAA((((1111))))                                                                  AAAASSSSAAAA((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      asa - interpret ASA carriage control characters
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      aaaassssaaaa [files]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _A_s_a interprets the output of FORTRAN programs that utilize ASA carriage
  16.      control characters.  It processes either the _f_i_l_e_s whose names are given
  17.      as arguments or the standard input if no file names are supplied.  The
  18.      first character of each line is assumed to be a control character; their
  19.      meanings are:
  20.  
  21.      '''' ''''   (blank) single new line before printing
  22.  
  23.      0000     double new line before printing
  24.  
  25.      1111     new page before printing
  26.  
  27.      ++++     overprint previous line.
  28.  
  29.      Lines beginning with other than the above characters are treated as if
  30.      they began with '''' ''''.  The first character of a line is _n_o_t printed.  If
  31.      any such lines appear, an appropriate diagnostic will appear on standard
  32.      error.  This program forces the first line of each input file to start on
  33.      a new page.
  34.  
  35.      If the environment variable _XPG is defined, _a_s_a operates in conformance
  36.      with the X/Open XPG4 specifications.  The format of the output may differ
  37.      in accordance to the XPG4 standards.
  38.  
  39. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  40.      To correctly view the output of FORTRAN programs which use ASA carriage
  41.      control characters, _a_s_a could be used as a filter thusly:
  42.  
  43.           a.out | asa | lpr
  44.  
  45.      and the output, properly formatted and paginated, would be directed to
  46.      the line printer.  FORTRAN output sent to a file could be viewed by:
  47.  
  48.           asa file
  49.  
  50. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  51.      fsplit(1)
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.